package user;

import sources.RandomSource;
import sources.SaveableData;

public abstract class SaveStrategy {

	public void save(RandomSource randomSource) {
		SaveableData[] data = randomSource.getSaveableData();
		for(int i = 0; i < data.length; i++){
			save(data[i]);
		}
	}

	protected abstract void save(SaveableData data);

}
